package com.ayf.payment.game.api.dto;

import com.ayf.payment.game.api.type.OrderStatus;
import com.swwx.charm.commons.lang.base.BasicTO;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: zh-liang
 * @Date : 2019-12-19 18:23
 */
public class OrderAndMerchantDTO extends BasicTO {
    private static final long serialVersionUID = 1L;

    private String id;

    private Integer merchantId;

    private   String merchantPrivateKey ;

    private    String merchantPublicKey;

    /**
     * 分区id
     */
    private String partitionId;

    /**
     * 分区名称
     */
    private String partitionName;

    /**
     * 商户订单号
     */
    private String merchantOrderNo;

    /**
     * 充值账号
     */
    private String rechargeNumber;

    /**
     * 订单金额 单位 元
     */
    private BigDecimal amount;

    /**
     * qq号
     */
    private String qq;

    /**
     * 支付类型
     */
    private String payCode;

    /**
     * 支付ID
     */
    private Integer payTypeId;

    /**
     * 状态
     */
    private OrderStatus orderStatus;

    /**
     * 脚本生成状态  1 已生成  0 未生成  -1 失败
     */
    private Integer scriptStatus;

    /**
     * 下单时间 毫秒
     */
    private Long placeOrderTime;

    /**
     * 生成订单日期INT值yyyyMMdd
     */
    private Integer orderGenerateTimeIndex;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 最后更新时间
     */
    private Date lastUpdateTime;
    private Integer payChannleId;
    private String operateIp;

    public String getOperateIp() {
        return operateIp;
    }

    public void setOperateIp(String operateIp) {
        this.operateIp = operateIp;
    }

    public Integer getPayChannleId() {
        return payChannleId;
    }

    public void setPayChannleId(Integer payChannleId) {
        this.payChannleId = payChannleId;
    }

    public Integer getPayTypeId() {
        return payTypeId;
    }

    public void setPayTypeId(Integer payTypeId) {
        this.payTypeId = payTypeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getPartitionId() {
        return partitionId;
    }

    public void setPartitionId(String partitionId) {
        this.partitionId = partitionId;
    }

    public String getPartitionName() {
        return partitionName;
    }

    public void setPartitionName(String partitionName) {
        this.partitionName = partitionName;
    }

    public String getRechargeNumber() {
        return rechargeNumber;
    }

    public void setRechargeNumber(String rechargeNumber) {
        this.rechargeNumber = rechargeNumber;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getPayCode() {
        return payCode;
    }

    public void setPayCode(String payCode) {
        this.payCode = payCode;
    }

    public Integer getScriptStatus() {
        return scriptStatus;
    }

    public void setScriptStatus(Integer scriptStatus) {
        this.scriptStatus = scriptStatus;
    }

    public Long getPlaceOrderTime() {
        return placeOrderTime;
    }

    public void setPlaceOrderTime(Long placeOrderTime) {
        this.placeOrderTime = placeOrderTime;
    }

    public Integer getOrderGenerateTimeIndex() {
        return orderGenerateTimeIndex;
    }

    public void setOrderGenerateTimeIndex(Integer orderGenerateTimeIndex) {
        this.orderGenerateTimeIndex = orderGenerateTimeIndex;
    }

    public String getMerchantPrivateKey() {
        return merchantPrivateKey;
    }

    public void setMerchantPrivateKey(String merchantPrivateKey) {
        this.merchantPrivateKey = merchantPrivateKey;
    }

    public String getMerchantPublicKey() {
        return merchantPublicKey;
    }

    public void setMerchantPublicKey(String merchantPublicKey) {
        this.merchantPublicKey = merchantPublicKey;
    }

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantOrderNo() {
        return merchantOrderNo;
    }

    public void setMerchantOrderNo(String merchantOrderNo) {
        this.merchantOrderNo = merchantOrderNo;
    }

    public OrderStatus getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(OrderStatus orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
